package com.colin.datamove.entity;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

public class CommonTableData implements Serializable {
    private static final long serialVersionUID = -4791764001568098508L;

    /**
     * 表名
     */
    private String tableName;
    /**
     * 列名，需要保证顺序，避免插入问题
     */
    private List<String> columns;
    /**
     * 列数据
     */
    private List<Map<String, Object>> dataList;

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public List<String> getColumns() {
        return columns;
    }

    public void setColumns(List<String> columns) {
        this.columns = columns;
    }

    public List<Map<String, Object>> getDataList() {
        return dataList;
    }

    public void setDataList(List<Map<String, Object>> dataList) {
        this.dataList = dataList;
    }
}
